-- GENERATED SPELL FOR [Blood Shade] --


function spell0_24872(pUnit, Event) --@Vexed Blood of the Ancestors,Heal--
pUnit:FullCastSpellOnTarget(49843,pUnit)
pUnit:RegisterEvent('Sorts_24872', 2000, 1)
end

function Sorts_24872(pUnit, Event)
local choix_sorts_24872 = math.random(0, 0)
if choix_sorts_24872 == 0 then
pUnit:RegisterEvent('spell0_24872', 1, 1)
end
end

function mob24872_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24872', math.random(1500, 3000), 1)
end

function mob24872_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24872_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24872_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24872, 1, 'mob24872_Action')
RegisterUnitEvent(24872, 2, 'mob24872_Leave')
RegisterUnitEvent(24872, 3, 'mob24872_Kill')
RegisterUnitEvent(24872, 4, 'mob24872_Die')
